package cn.edu.scau.cmi.zhouxinyue.SyntheticalEx;

import cn.edu.scau.cmi.zhouxinyue.client.*;
import javafx.fxml.FXML;

import javafx.scene.control.Button;
import javafx.stage.Stage;

public class SyntheticalUIController {
	@FXML
	private Button one;
	@FXML
	private Button two;
	@FXML
	private Button sf;
	@FXML
	private Button af;
	@FXML
	private Button f;
	@FXML
	private Button oa;
	@FXML
	private Button ca;
	@FXML
	private Button sc;
	@FXML
	private Button yc;
	@FXML
	private Button hs;
	@FXML
	private Button ht;
	@FXML
	private Button ss;
	@FXML
	private Button st;
	
	public void oone() {
		new SingletonClient().start(new Stage());
	}
	public void ttwo() {
		new SingletonClient().start(new Stage());
	}
	public void jdg() {
		new SimpleFactoryClient().start(new Stage());
	}
	public void ybg() {
		new NromalFactoryClient().start(new Stage());
	}
	public void cxg() {
		new AbstractFactoryClient().start(new Stage());
	}
	public void ds() {
		new objectAdapterClient().start(new Stage());
	}
	public void ls() {
		new classAdapterClient().start(new Stage());
	}
	public void aq() {
		new safeComponentClient().start(new Stage());
	}
	public void yz() {
		new componentClient().start(new Stage());
	}
	public void hhs() {
		new hibernateStudentClient().start(new Stage());
	}
	public void hht() {
		new hibernateTeacherClient().start(new Stage());
	}
	public void sss() {
		new SpringStudentClient().start(new Stage());
	}
	public void sst() {
		new SpringTeacherClient().start(new Stage());
	}
}
